package com.juren.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.juren.service.IHelloService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * <p>
 * Hello服务实现
 * </p>
 *
 * @Title:
 * @Description: Hello服务实现
 * @Author: zt
 * @Date: 2018/12/29  15:32
 * @Version:
 */
@Service(version = "${demo.service.version}")
@Slf4j
@Component
public class HelloServiceImpl implements IHelloService {
    @Override
    public String sayHello(String name) {
        System.out.println("提供服务==============");
        return "你好: " + name;
    }
}
